<?php
    require 'DBRequestHandler.php';
    
    header('Content-Type: text/plain');

    $uname = $_POST['user'];
    $pass = $_POST['pass'];
    $fname = $_POST['fname'];
    $lname = $_POST['lname'];
    $email = $_POST['email'];
    
    $dbc = new DBRequestHandler;
    
    $test = $dbc->newUser($uname, $pass, $fname, $lname, $email);
    //echo($test);
    
?>